package com.drinkdelivery.common.request;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.drinkdelivery.common.annotation.Excel;
import com.drinkdelivery.common.response.ProductSpecResponse;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;

@Data
public class ProductSkuRequest {


    private Long id;
    /** 所属商品id */
    @Excel(name = "所属商品id")
    private Long productId;
    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;
    /** 成本 */
    @Excel(name = "成本")
    private BigDecimal cost;
    /** 起购量 */
    @Excel(name = "起购量")
    private Long minQuantity;
    /** 总量 */
    @Excel(name = "总量")
    private Long totalQuantity;
    /**  SKU图片地址 */
    @Excel(name = " SKU图片地址")
    private String imageUrl;
    /** 折扣价格 */
    @Excel(name = "折扣价格")
    private BigDecimal discountPrice;
    /** 逻辑删除标记，0-未删除，1-已删除 */
    @Excel(name = "逻辑删除标记，0-未删除，1-已删除")
    private Integer isDeleted;
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;
    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;
    /** 商户id */
    @Excel(name = "商户id")
    private Integer merchantId;

    /** 商品规格属性值id列表 */
    private List<Long> specValueIdList;

}
